-- GENERATED SPELL FOR [Cursed Highborne] --


function spell0_2176(pUnit, Event) --@Banshee Curse,n/a--
pUnit:FullCastSpellOnTarget(5884,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2176', 14000, 1)
end

function Sorts_2176(pUnit, Event)
local choix_sorts_2176 = math.random(0, 0)
if choix_sorts_2176 == 0 then
pUnit:RegisterEvent('spell0_2176', 1, 1)
end
end

function mob2176_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2176', math.random(1500, 3000), 1)
end

function mob2176_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2176_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2176_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2176, 1, 'mob2176_Action')
RegisterUnitEvent(2176, 2, 'mob2176_Leave')
RegisterUnitEvent(2176, 3, 'mob2176_Kill')
RegisterUnitEvent(2176, 4, 'mob2176_Die')
